package com.fortune.cat.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @author zhaozeyang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FilterDefinitionRecipient implements Serializable {


    private static final long serialVersionUID = 8130123347010742710L;

    private Long id;

    private String routeId;

    private String name;

    private Map<String, String> args = new LinkedHashMap<>();

    /**
     * 如果是外部动态加载filter，此值为true
     */
    private boolean external;
    /**
     * 外部filter的url
     */
    private String url;

    private String externalName;

}